<!DOCTYPE html>
<html lang="en" style="font-size:50px">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Document</title>
  <style>
    div {
      height: 1.04rem;
    }
  </style>
</head>
<body>
  <!-- 
    em是相对于其父元素字体大小的单位

    rem是相对于HTML字体大小的单位

  -->
  <div></div>
  <div></div>

</body>
</html>